Extend mouse support on W32 text-mode console.
authorEli Zaretskii <eliz@gnu.org>
Sat, 26 May 2012 12:14:56 +0000 (15:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 May 2012 12:14:56 +0000 (15:14 +0300)
commitaf66188197559e22aca3d2a9f4c0055c4b62299c
tree5c6f97bc18441c21721a47b416abed27b78467ac
parent034b444cce9d883d6ef7b36dba533a6c024d6435
parent2f313f86c23b9589445a7deb28c6e46330121e6a
Extend mouse support on W32 text-mode console.

 src/xdisp.c (draw_row_with_mouse_face): Call
 tty_draw_row_with_mouse_face for WINDOWSNT as well.
 src/w32console.c: Include window.h.
 (w32con_write_glyphs_with_face, tty_draw_row_with_mouse_face): New
 functions.
 (initialize_w32_display): Initialize mouse-highlight data.
 src/w32inevt.c: Include termchar.h and window.h.
 (do_mouse_event): Support mouse-autoselect-window.  When the mouse
 moves, call note_mouse_highlight.  If help_echo changed, call
 gen_help_event to produce help-echo message in the echo area.
 Call clear_mouse_face if mouse_face_hidden is set in the mouse
 highlight info.

 etc/NEWS: Describe the changes.
etc/NEWS
src/ChangeLog